﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EP.Transport
{
    abstract class TransportPacket
    {
        protected TransportProtocolID id;
        public TransportProtocolID Id
        {
            get
            {
                return this.id;
            }
        }

        public abstract int TotalByteSize
        {
            get;
        }

        public TransportPacket(TransportProtocolID id)
        {
            this.id = id;
        }

        public abstract byte[] Serialize();
    }
}
